
@media (max-width: 1420px) {
    .top_bar_li:nth-of-type(8) {
        display: none;
    }
}

@media (max-width: 1360px) {
    .top_bar_li:nth-of-type(7) {
        display: none;
    }
}

@media (max-width: 1300px) {
    .top_bar_li:nth-of-type(6) {
        display: none;
    }
}

@media (max-width: 1240px) {
    .top_bar_li:nth-of-type(5) {
        display: none;
    }
}

@media (max-width: 1180px) {
    .top_bar_li:nth-of-type(4) {
        display: none;
    }
}

@media (max-width: 1120px) {
    .top_bar_li:nth-of-type(3) {
        display: none;
    }
}

@media (max-width: 1060px) {
    .top_bar_li:nth-of-type(2) {
        display: none;
    }
}

@media (max-width: 1000px) {
    .top_bar_li:nth-of-type(1) {
        display: none;
    }
}

.top-bar-first,
.top-bar-second {
    min-width: 920px;
    height: 64px;
    width: 100%;
    background-color: white;
    box-shadow: 0 -17px 20px 1px black;
    top: 0;
    z-index: 500;
}

.top-bar-second {
    top: -64px;
    z-index: 400;
    transition: top 0.3s ease-in-out;
    position: fixed;
}

.top_bar_box {
    margin: 0 24px;
    width: calc(100% - 48px);
    height: 100%;
    position: relative;
    display: flex;
}

.top_bar_box .nav-left {
    font-size: 28px;
    margin-right: 20px;
    font-weight: bold;
}

.top_bar_box .nav-left .nav-lef-wei {
    width: 80px;
    height: 44px;
    background-color: #f90808;
    border-radius: 9px / 7px;
    display: inline-block;
    text-align: center;
    line-height: 41px;
    color: white;
    font-weight: bold;
    font-family: FangSong_GB2312;
    margin-top: 10px;
    font-size: 34px;
    padding-right: 1px;
}

.top_bar_ul {
    list-style: none;
    display: inline-block;
    padding: 19px 0;
}

.top_bar_ul li {
    float: left;
    margin-left: 28px;
    font-size: 18px;
    cursor: pointer;
}
.top_bar_ul li :hover{
    color:red;
}
.top_bar_ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
}

.top_bar_ul li a:hover {
    color: gray;
}

.top_bar_search_box {
    width: 440px;
    height: 40px;
    background-color: whitesmoke;
    border-radius: 10px;
    display: flex;
    margin: 12px 0;
    position: relative;
}

.top_bar_search_box input {
    outline: none;
    border: none;
    height: 100%;
    width: 70%;
    background-color: whitesmoke;
    padding-left: 15px;
    border-radius: 10px;
    font-size: 18px;
}

.search_button {
    outline: none;
    border: none;
    height: 100%;
    flex-grow: 1;
    background-color: whitesmoke;
    border-radius: 10px;
    cursor: pointer;
}

.search_button::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 50%;
    position: absolute;
    top: 25%;
    right: 117px;
    background-color: rgba(151, 151, 151, 0.6);
}

.search_button i {
    margin-right: 8px;
    font-size: 20px;
    color: #e94046;
}

.search_button span {
    font-size: 20px;
    color: #e94046;
}

.top_bar_NAP {
    display: flex;
    height: 100%;
    width: 54px;
    align-items: center;
}

.iconfont {
    font-size: 30px;
}

/*.red_point {*/
/*    position: absolute;*/

/*    display: none;*/
/*    width: 15px;*/
/*    height: 15px;*/
/*    left: 10px;*/
/*    border-radius: 50%;*/
/*    background-color: red;*/
/*}*/

.top_bar_news {
    flex-grow: 1;
    display: inline-block;
    padding: 17.5px 0;
    padding-left: 10px;
}

.top_bar_news .top_bar_news_box {
    position: relative;
    color: black;
    text-decoration: none;
}

.top_bar_news .top_bar_news_box :hover {
    color: gray;
}

.top_bar_news .top_bar_news_box i {
    font-size: 22px;
}

.top_bar_news .top_bar_news_box span {
    font-size: 22px;
}

.news_dropdown, .publish_dropdown, .personal-dropdown {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    list-style: none;
    position: absolute;
    z-index: 2;
    top: 64px;
    left: -10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px -20px black;
    transition: 0.3s;
}

.news_dropdown li, .publish_dropdown li, .personal-dropdown li {
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 15px;
    cursor: pointer;
}

.news_dropdown li:hover, .publish_dropdown li:hover, .personal-dropdown li:hover {
    background-color: whitesmoke;
}

.top_bar_publish {
    /*flex-grow: 1;*/
    /*display: inline-block;*/
    padding: 17.5px 0;
    display: inline-block;
}

.top_bar_publish .top_bar_publish_box {
    color: black;
    text-decoration: none;
}

.top_bar_publish .top_bar_publish_box:hover {
    color: gray;
}

.top_bar_publish .top_bar_publish_box i {
    font-size: 20px;
}

.top_bar_publish .top_bar_publish_box span {
    font-size: 20px;
}

.publish_dropdown {
    left: -13px;
    width: 90px;
}

.publish_dropdown li {
    /*padding: 10px 16px;*/
}

.top-bar-personal {
    /*flex-grow: 1;*/
    padding: 17.5px 0;
    margin-left: 33px;
    /*line-height:0;*/
}

.top-bar-personal .no-login .profiles{
    text-decoration: none;
    width: 33px;
    height: 33px;
    /*background-color: red;*/
    margin-right: 15px;
    border-radius: 50%;
}



.top-bar-personal .logining .login-btn {
    width: 62px;
    height: 30px;
    display: inline-block;
    color: white;
    background-color: #f90808;
    border-radius: 8px;
    /*display: block;*/
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    cursor: pointer;
}

.personal-dropdown {
    top: 63px;
    left: -26px;
    width: 90px;
}

.personal-dropdown li {
    padding: 9px 11px;
}